/* //// RESET CSS //// */
body,h1,h2,h3,ul,input {
	margin: 0;
	padding: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style-type: none;
	list-style-position: inside;
}
/* /////////////////// */
@font-face {
	font-family: 'Quicksand';
	src: url('../fonts/Quicksand-Light.otf');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Quicksand';
	src: url('../fonts/Quicksand-Bold.otf');
	font-weight: bold;
	font-style: normal;
}

li {
	hyphens: auto;
}

body {
	background-color: #272727;
	color: #DEDEDE;
	font-family: "Quicksand", sans-serif;
	text-align: center;
}

body.padding {
	padding-top: 180px;
}

section h2 {
	font-size: 2em;
	padding: 10px 0 15px 0;
}

section:not(#main) ul {
	text-align: left;
}

#playlist ul li,#users ul li {
    background-color: #484848;
    margin-bottom: 20px;
}

#playlist ul li div, #playlist ul li a {
	display: inline-block;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	vertical-align: middle;
}

#playlist ul li div {
	padding: 10px;
	width: calc(100% - 20px);
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;
}

#playlist ul li:first-child {
	font-weight: bold;
	background-color: #3A3A3A;
}

#users ul li {
	padding: 10px;
}

#users #top-buttons {
	display: inline-block;
	height: 40px;
}

#users #top-buttons a {
	display: inline-block;
	padding: 5px;
	border-radius: 4px;
	background-color: #484848;
	margin-top: 3px;
}

#users #top-buttons a:hover {
	background-color: #484848;
}

#main > form {
	margin-top: 10px;
	display: inline-block;
	max-width: 100%;
}

#main>form input {
	display: block;
	margin: 10px auto;
	text-overflow: ellipsis;
	cursor: pointer;
	max-width: 100%;
}

#main>form input[type="submit"] {
    padding: 10px;
    background-color: #80D9FF;
    font-weight: bold;
    border-bottom: 1px solid #777777;
    border: 1px solid #003300;
    border-radius: 4px;
}

#main progress {
	visibility: hidden;
}

#main h3 span.success {
	color: green !important;
}

#main h3 span.fail, h3.buttons_fail {
    color: red !important;
}

#main form #inputLink {
	background-color: white;
	background-image: url('../images/loader.gif');
	background-repeat: no-repeat;
	background-position: -9999px;
	padding: 7px 25px 7px 7px;
	border-radius: 5px;
	border: none;
}

#main #bottom_buttons {
	position: absolute;
	top: 15px;
	left: 0;
	right: 0;
}

#main #bottom_buttons img {
	width: 50px;
	height: 50px;
	margin: 0 5px;
}

#main #bottom_buttons #pwd {
	font-size: 4em;
	font-weight: bold;
}

@media screen and (min-width: 900px) {
	body,html {
		max-height: 100%;
		height: 100%;
	}
	body.padding {
		padding-top: 0;
	}
	#playlist,#users {
		max-height: 100%;
		height: 100%;
		overflow: auto;
		box-shadow: 0px 0px 10px 0px black;
		width: 25%;
		background-color: #777777;
	}
	#playlist {
		float: left;
	}
	#users {
		float: right;
	}
	#users #top-buttons a {
       background-color: #272727;
    }
	#users #lists {
		max-height: calc(100%-40px);
		overflow: auto;
	}
	#main {
		margin: auto;
		width: 45%;
		position: relative; /* used to position #bottom_buttons */
		min-height: 100%;
	}
	#main #bottom_buttons {
		position: absolute;
		top: auto;
		bottom: 0;
		border: none;
	}
	#main #bottom_buttons img {
		width: 70px;
		height: 70px;
		margin: 0 10px;
	}
}

@media screen and (min-height: 650px) and (min-width: 900px) {
	#main>form:first-child {
		margin-top: 60px;
	}
}

@media screen and (min-height: 750px) and (min-width: 900px) {
	#main>form:first-child {
		margin-top: 130px;
	}
}